package com.jb.web.application;

import com.jb.web.bean.event.UIEvent;
import com.jb.web.bean.event.UIEventHandler;
import com.jb.web.context.WebContext;

import java.lang.reflect.Method;


public class EventListener implements UIEventHandler {
    public void handleEvent(WebContext pCtx, UIEvent event) {
        try {
            Method method = getClass().getMethod("onConfirmFriend", new Class[] { WebContext.class, UIEvent.class });
            method.invoke(this, new Object[] { pCtx, event });
        } catch (Exception e) {
        }
    }
}
